//
// Created by Administrator on 2020-2-12.
//

#ifndef BOOKMANAGER_COMMENDLINE_H
#define BOOKMANAGER_COMMENDLINE_H

#include "DataStructre.h"

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define LOGIN_NUM 3
const char PW[12] = "asd";

// 数据持续化操作
void save(bookList * context);
void load(bookList * context);

// CRUD 操作
void Create(bookList * context);
int Retrieve(bookList * context);
void Update(bookList * context);
void Delete(bookList * context);
void OutputAll(bookList * context);
void OutputByPage(bookList * context);
void sort(bookList * context);

int GetNum();

#endif //BOOKMANAGER_COMMENDLINE_H
